package com.intelligentcar.springboot.service;

import com.intelligentcar.springboot.bean.Parameter;
import com.intelligentcar.springboot.bean.User;
import com.intelligentcar.springboot.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public interface UserServer {
    //参数列表
    public Map<String,Object> userTable(User user);
//    //修改参数信息
//    public boolean updateUser(User user);
    //修改参数状态(启用、禁用)
    public boolean updateUserState(User user);
//    //插入参数信息
//    public boolean insertUser(User user);
    //查询后的参数列表
    public Map<String,Object> selectUser(User user);
    //重置密码
    public boolean resetPwd(User user);
}
